<script src="/assets/js/qrcode.init.user.js" type="text/javascript"></script>
<script src="/assets/js/qrcode.proc.user.js" type="text/javascript"></script>
<?php
session_start();

include_once $_SERVER['DOCUMENT_ROOT'] . '/core/user.dialog.php';
if (!$_SESSION['username'] || $_SESSION['rootuser'] != 'Y') {
	echo "<script>$('#dlg_admin_login').dialog('open');</script>";
}
else {
	echo "<script>$('#user-contain').show();</script>";
}
?>
<div id="user-contain" class="ui-widget" style="display:none;">
	<table id="tbl_user" class="ui-widget ui-widget-content">
		<thead>
			<tr class="ui-widget-header ">
				<th width="20"></th>
				<th width="120">사용자 ID</th>
				<th width="200">비밀번호</th>
				<th width="100">생성일자</th>
				<th width="100">로그일자</th>
				<th width="100">사용자 구분</th>
			</tr>
		</thead>
		<tbody id="tbody_user">
		</tbody>
		<tfoot>
			<tr><td colspan="13" width="100%"><hr width="100%" height="1" color="#a6c9e2"></td></tr>
			<tr>
				<td colspan="3">
					<img title="사용자 추가" src="assets/img/ico/001_01.png" onclick="open_add_user_dialog();"
					style="cursor:pointer; border:none; width:24; height:24;" />
					<img title="사용자 삭제" src="assets/img/ico/001_02.png" onclick="open_delete_user_dialog();"
					style="cursor:pointer; border:none; width:24; height:24;" />
				</td>
			</tr>
		</tfoot>
	</table>
</div>